﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenCompiler.CodeGen
{
	public interface IConstructionContext
	{
		Type Construct(ITypeBuilder typeBuilder);

		ITypeBuilder CreateType(string name);

		ITypeBuilder<T> BuildFrom<T>() where T : class;

		T CreateInstance<T>() where T : class;
	}
}
